<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<?php echo hook('syncMeta');?>
	<?php $oneplus_seo_meta = get_seo_meta($vars,$seo); ?>
<?php if($oneplus_seo_meta['title']): ?><title><?php echo ($oneplus_seo_meta['title']); ?></title>
    <?php else: ?>
    <title><?php echo modC('WEB_SITE_NAME',L('_OPEN_Center_'),'Config');?></title><?php endif; ?>
<?php if($oneplus_seo_meta['keywords']): ?><meta name="keywords" content="<?php echo ($oneplus_seo_meta['keywords']); ?>"/><?php endif; ?>
<?php if($oneplus_seo_meta['description']): ?><meta name="description" content="<?php echo ($oneplus_seo_meta['description']); ?>"/><?php endif; ?>

	<!-- 开始 全局 样式 css -->
	<link href="Public/css/bt/51bangtu.global.css" rel="stylesheet">
	<!-- 结束 全局 样式 css -->

	<audio id="music" src="" autoplay="autoplay"></audio>
	<!-- 页面header钩子，一般用于加载插件CSS文件和代码 -->
	<?php echo hook('pageHeader');?>

	<!--  开始 主全局  样式-->
	
		<link rel="stylesheet" type="text/css" href="/Application/Ucenter/Static/css/bt/mian.css"/>
		<link rel="stylesheet" type="text/css" href="/Application/Ucenter/Static/css/bt/logo.css"/>
		<link rel="stylesheet" type="text/css" href="/Application/Ucenter/Static/css/bt/help.css"/>
	
	<!--  开始 主全局  样式-->

	<!-- 开始 页面 级 插件 样式-->
	
	<!-- 结束 页面 级 插件 样式-->
</head>

<body>

<!-- 开始 头部 Html -->

	<div class="regcolor"></div>
	<div class="ctContainer">
		<div class="container">
			<div class="logoHeader">
				<a href="http://www.51bangtu.com/"><div class="navLogLeft">
					<img src="/Application/Ucenter/Static/images/bt/log.png" />
				</div></a>
				<div class="logoNavRight">
					<a href="http://www.51bangtu.com/">首页</a>
					<a href="<?php echo U('Home/Index/index');?>">工具箱</a>
					<a href="<?php echo U('Home/Index/help');?>">使用帮助</a>
					<div class="logoRegisterBtn marginLeft40"  onclick="window.location.href='<?php echo U('Ucenter/Member/register');?>'">注册</div>
					<div class="logoBtn labeiLeft20" onclick="window.location.href='<?php echo U('Ucenter/Member/login');?>'">登录</div>
				</div>
			</div>

<!-- 结束 头部 Html -->

<!-- 开始 主体 Html -->

    <div class="context" style="position: relative;height:900px">
        <div class="ctPdding ">
            <div class="ct_header"><i></i>用户注册</div>
            <hr />
            <div class="regContainer">
                <div class="regItme">
                    <ul>
                        <li class="itmeBorder">
                            <span class="regLogo">1</span>
                            <span class="color6">填写账户信息</span>
                        </li>
                        <li class="itmeTwo">
                            <span class="noRegLogo">2</span>
                            <span class="color6">激活账户</span>
                        </li>
                        <li>
                            <span class="noRegLogo">3</span>
                            <span class="color6">完成</span>
                        </li>
                    </ul>
                </div>
                <div class="clearfix"></div>
            </div>
            <div class="regGroupContainer">
                <form action="<?php echo U('register');?>" method="post">
                    <input id="name" class="userStyle tooltipBtn" type="hidden" name="role" value="<?php echo ($role_list[0]['id']); ?>">
                    <div class="userContainer marginTop50 marginBottom20">
                        <input type="hidden" name="reg_type" value="email" <?php if($key != 0): ?>disabled="disabled"<?php endif; ?>>
                        <input type="hidden" id="nickname"  name="nickname">
                        <input type="text" id="email" class="userStyle tooltipBtn" check-type="UserEmail" check-url="<?php echo U('ucenter/member/checkAccount');?>" <?php if($key != 0): ?>disabled="disabled"<?php endif; ?>
                        placeholder="<?php echo L('_PLACEHOLDER_EMAIL_INPUT_');?>" value="" name="username">
                        <img class="userMsg" src="/Application/Ucenter/Static/images/bt/err_small_a1085c53.png" style="display: none"/>
                        <span class="size12 colorRed" style="display: none"></span>
                        <div class="userLogo"><img src="/Application/Ucenter/Static/images/bt/user/user.png"/></div>
                        <div class="regTooltipFour tool">
                            <div class="tooltips toolFourW">
                                <div class="arrows toolKey regLeft"></div>
                                <span class="msg">此邮箱作为登录账号</span>
                            </div>
                        </div>
                    </div>
                    <div class="userContainer marginBottom20">
                        <input type="password" id="inputPassword" class="userStyle tooltipBtn" check-length="6,30"  placeholder="请输入密码"  name="password">
                        <img class="userMsg" src="/Application/Ucenter/Static/images/bt/err_small_a1085c53.png" style="display: none"/>
                        <span class="size12 colorRed" style="display: none"></span>
                        <div class="userLogo"><img src="/Application/Ucenter/Static/images/bt/user/userlogo.png"/></div>
                        <div class="regTooltipPwd tool">
                            <div class="tooltips toolFourW">
                                <div class="arrows toolKey regLeftPwd"></div>
                                <span class="msg">长度为6～14个字符 支持数字，大小写字母与标点符号 不允许有空格</span>
                            </div>
                        </div>
                    </div>
                    <div class="userContainer marginBottom20">
                        <input class="userStyle" type="password" placeholder="请再次输入密码" id="inputPassword2"/>
                        <img class="userMsg" src="/Application/Ucenter/Static/images/bt/err_small_a1085c53.png" style="display: none"/>
                        <span class="size12 colorRed" style="display: none"></span>
                        <div class="userLogo"><img src="/Application/Ucenter/Static/images/bt/user/userlogo.png"/></div>
                    </div>
                    <div class="userContainer marginBottom20">
                        <div class="userLogoBtn stratHover">下一步</div>
                    </div>
                    <div class="userContainer marginBottom20">
                        <div class="regAgree color3">
                            <img style="vertical-align: middle;" src="/Application/Ucenter/Static/images/bt/user/userok.png"/>
                            <label>我同意</label>
                            <a href="<?php echo U('Ucenter/Member/userhelp');?>" class="color00" target="_blank">《邦兔用户协议》</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>

<!-- 结束 主体 Html -->

<!-- 开始 尾部 Html -->

	</div>
	</div>
	<div class="bgcolorMid regbgcolorMidH">
		<div class="footer">
			<span>© 2016 51bangtu Inc. All Rights Reserved.</span>
		</div>
	</div>
	<!--<div class="bgcolorMid regbgcolorMidH">
		<div class="footer">
			&lt;!&ndash; 开始 版权 &ndash;&gt;
			<span><?php echo modC('COPY_RIGHT',L('_NOT_SET_NOW_'),'Config');?></span>
			&lt;!&ndash; 结束 版权 &ndash;&gt;

			&lt;!&ndash; 开始 备案号 &ndash;&gt;
			<div class="col-xs-12"><?php echo L('_RECORD_N_');?><a href="http://www.miitbeian.gov.cn/" target="_blank">
				<?php echo modC('ICP',L('_NOT_SET_NOW_'),'Config');?> </a>
			</div>
			&lt;!&ndash; 开始 备案号 &ndash;&gt;
		</div>
	</div>-->

<!-- 结束 尾部 Html -->

</body>

<!-- 开始 核心 插件 -->
<script src="/Public/js.php?f=js/jquery-2.0.3.min.js,js/com/com.functions.js,js/core.js,js/com/com.toast.class.js,js/com/com.ucard.js"></script>
<script src="/Public/js.php?t=js&f=js/com/com.notify.class.js,static/qtip/jquery.qtip.js,js/ext/slimscroll/jquery.slimscroll.min.js,js/ext/magnific/jquery.magnific-popup.min.js,js/ext/placeholder/placeholder.js,js/ext/atwho/atwho.js,zui/js/zui.js&v=<?php echo ($site["sys_version"]); ?>.js"></script>
<!-- 结束 核心 插件 -->
<?php $config = api('Config/lists'); C($config); $count_code=C('COUNT_CODE'); ?>
<script type="text/javascript">
    var ThinkPHP = window.Think = {
        "ROOT": "", //当前网站地址
        "APP": "/index.php?s=", //当前项目地址
        "PUBLIC": "/Public", //项目公共目录地址
        "DEEP": "<?php echo C('URL_PATHINFO_DEPR');?>", //PATHINFO分割符
        "MODEL": ["<?php echo C('URL_MODEL');?>", "<?php echo C('URL_CASE_INSENSITIVE');?>", "<?php echo C('URL_HTML_SUFFIX');?>"],
        "VAR": ["<?php echo C('VAR_MODULE');?>", "<?php echo C('VAR_CONTROLLER');?>", "<?php echo C('VAR_ACTION');?>"],
        'URL_MODEL': "<?php echo C('URL_MODEL');?>",
        'WEIBO_ID': "<?php echo C('SHARE_WEIBO_ID');?>"
    }
    var cookie_config={
        "prefix":"<?php echo C('COOKIE_PREFIX');?>"
    }
    var Config={
        'GET_INFORMATION':<?php echo modC('GET_INFORMATION',1,'Config');?>,
        'GET_INFORMATION_INTERNAL':<?php echo modC('GET_INFORMATION_INTERNAL',10,'Config');?>*1000
    }
    var weibo_comment_order = "<?php echo modC('COMMENT_ORDER',0,'WEIBO');?>";
</script>

<script src="/Public/lang.php?module=<?php echo strtolower(MODULE_NAME);?>&lang=<?php echo LANG_SET;?>"></script>

<script src="/Public/expression.php"></script>

<!-- 开始 全局 javascript 代码 -->
<script type="text/javascript">
	//全局内容的定义
	var _ROOT_ = "";
	var MID = "<?php echo is_login();?>";
	var MODULE_NAME="<?php echo MODULE_NAME; ?>";
	var ACTION_NAME="<?php echo ACTION_NAME; ?>";
	var CONTROLLER_NAME ="<?php echo CONTROLLER_NAME; ?>";
	var initNum = "<?php echo modC('WEIBO_NUM',140,'WEIBO');?>";
	function adjust_navbar(){
		$('#sub_nav').css('top',$('#nav_bar').height());
		$('#main-container').css('padding-top',$('#nav_bar').height()+$('#sub_nav').height()+20)
	}
</script>
<!-- 结束 全局 javascript 代码 -->



<!-- 开始 主核心 插件 -->

	<script src="/Application/Ucenter/Static/js/bt/plugins/build/sea.js" type="text/javascript" charset="utf-8"></script>
	<script src="/Application/Ucenter/Static/js/bt/plugins/build/css3.js" type="text/javascript" charset="utf-8"></script>
	<script src="/Application/Ucenter/Static/js/bt/mian.js" type="text/javascript" charset="utf-8"></script>

<!-- 结束 主核心 插件 -->

<!-- 开始 主核心  代码 -->

	<script type="text/javascript">
		$(function(){
			//兼容 ie
			seajs.config({
				debug: true,
				base: "/Application/Ucenter/Static/js/bt/plugins/build/"
			}).use(["placeholder"], function() {
			});
		});
	</script>

<!-- 结束 主核心 代码 -->

<!-- 开始 页面 级 插件 -->

    <script src="/Application/Ucenter/Static/js/bt/plugins/md5/md5.js" type="text/javascript" charset="utf-8"></script>

<!-- 结束 页面 级 插件 -->

<!-- 开始 页面 级 代码 -->

    <script type="text/javascript">
        $(function(){
            //提交
            var step="<?php echo ($step); ?>";
            if (MID == 0 && step=='start') {
                //提交
                $('.userLogoBtn').on('click',function(){
                    $('.userMsg').hide();
                    $('.colorRed').hide();
                    var inputPassword = $('#inputPassword').val();
                    var inputPassword2 = $('#inputPassword2').val();
                    if(inputPassword != inputPassword2){
                        $('#inputPassword').nextAll('.userMsg').show();
                        $('#inputPassword').nextAll('.colorRed').text('两次输入的密码不一样~！').show();
                        $('#inputPassword2').nextAll('.userMsg').show();
                        $('#inputPassword2').nextAll('.colorRed').text('两次输入的密码不一样~！').show();
                        return false;
                    }
                    var self = $('form');
                    $.post(self.attr("action"), self.serialize(), function(data){
                        if (data.status) {
                            setTimeout(function () {
                                window.location.href = data.url
                            }, 10);
                        } else {
                            if(data.info.indexOf("密") >= 0){
                                $('#inputPassword').nextAll('.userMsg').show();
                                $('#inputPassword').nextAll('.colorRed').text(data.info).show();
                                return false;
                            }
                            $('#email').nextAll('.userMsg').show();
                            $('#email').nextAll('.colorRed').text(data.info).show();
                        }
                    }, "json");
                });
            }
            //加工昵称
            $('#email').on('input propertychange',function(){
                $('#nickname').val(hex_md5($(this).val()));
            });
        });
    </script>

<!-- 结束 页面 级 代码 -->

</html>